package com.ljf.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ljf.dto.QueryGoods;
import com.ljf.dto.QueryStatisticSale;
import com.ljf.entity.DetailStoreGoods;
import com.ljf.entity.Goods;
import com.ljf.vo.GoodsListVo;
import com.ljf.vo.SalesStatisticsVo;

import java.util.List;
import java.util.Map;

public interface GoodsService extends IService<Goods> {
    List<Map<String, Object>> selectedGoodsAll();

    Page<GoodsListVo> queryPageByQo(QueryGoods qo);

    List<Map<String, Object>> selected_storeAll();

    void updateGoods(Goods goods, String token);

    void returnGoods(DetailStoreGoods detailStoreGoods, String token);

    void upOrdown(Long gid, String state, String token);

    SalesStatisticsVo queryPageStatisticSaleByQo(QueryStatisticSale qo);
}
